package org.csmzxy.class233403;

public class example01 {
    public static void main(String[] args){
        Student student = new Student();
        student.name = "辛思文";
        student.age = 20;
        System.out.println("我叫" + student.name + " 我今年" + student.age);
        student.eat();
        student.study();

        Teacher teacher = new Teacher();
        teacher.name = "李四";
        teacher.age = 30;
        teacher.eat();
        teacher.sleep();
        teacher.teach();
    }

}